package com.qm.console.dao.mapper;

import com.qm.console.dao.model.CommentAuditDO;
import com.qm.console.dao.model.CommentAuditDOWithBLOBs;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface CommentAuditDOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CommentAuditDOWithBLOBs record);

    int insertSelective(CommentAuditDOWithBLOBs record);

    CommentAuditDOWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CommentAuditDOWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(CommentAuditDOWithBLOBs record);

    int updateByPrimaryKey(CommentAuditDO record);

//    int insertMultiTerm(List<CommentAuditDOWithBLOBs> list);

    List<CommentAuditDOWithBLOBs> list(Map<String, Object> queryMap);

    int total(Map<String, Object> queryMap);

    int isExist(Map<String, Object> queryMap);

    int updateTime(Map<String, Object> queryMap);

    Set<String> listCommentId(Map<String, Object> queryMap);

}
